﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Atlandiz.EnvanterVeZimmetYonetimi
{
    public partial class PopupAreYouSure : DevExpress.XtraEditors.XtraForm
    {
        public PopupAreYouSure()
        {
            InitializeComponent();
        }

        private void AreYouSure_Load(object sender, EventArgs e)
        {
            Army.EventConfirm = false;
            _lblEventMessage.Text = Army.EventMessage;
            Army.EventMessage = "";
        }

        private void _btnHayir_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void _btnEvet_Click(object sender, EventArgs e)
        {
            Army.EventConfirm = true;
            this.Close();
        }
    }
}